package com.unswift.window.undo;

import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;

public interface UndoDocument {

	void insertString(int offset, String text, AttributeSet attribute) throws BadLocationException;
	void remove(int offs, int len) throws BadLocationException;
	void setPushUndo(boolean isPushUndo);
	void setNewAction(boolean isNewAction);
	int getLength();
	String getText();
	
}
